#include <string.h>
#include <stdio.h>
#include <assert.h>
#include <math.h>
#include <stdlib.h>

#include "dominion.h"
#include "dominion_helpers.h"
#include "rngs.h"

#define DEBUG 0
#define NOISY_TEST 1

int checkNumHandCards(struct gameState *state);

int checkNumHandCards(struct gameState *state){

    int t = state->whoseTurn;
    int c = state->handCount[t];
    
    int r = numHandCards(state);

    assert (c == r);

    return 0;
}

int main () {

    int i;
    int j;

    struct gameState g;

    printf ("Testing NumHandCard.\n");

    g.whoseTurn = floor(Random() * MAX_PLAYERS);
    g.handCount[g.whoseTurn] = floor(Random() * MAX_HAND);
    checkNumHandCards(&g);


    printf ("numHandCard OK\n");

    return 0;
}

